What are x and y the components of the vector obtained when we add vector A, with magnitude 12.2 and angle 184.2 degrees, to the vector B whose angle and magnitude are 75.7 degrees and 12.6?
The x and y components of A are easily found to be 12.2 cos( 184.2 deg) = -12.17 and 12.2 sin( 184.2 deg) = -.9.
The x and y components of B are found in the same manner to be 3.11 and 12.2.
The x component of the resultant is simply the sum -12.17 + 3.11 = -9.06 of the x components of A and B.
The y component is similarly the sum -.9 + 12.2 = 11.3 of the y components of A and B.
The magnitude of the resultant vector, by the Pythagorean Theorem, is therefore
The angle of the resultant vector to the x axis is found from the inverse tangent
The final step depends on whether the x component -9.06 is greater or less than zero:
- The vector is in quadrant 2 or 3 and the correct angle is therefore (-51.28 + 180) degrees = 128.72 degrees.
- Since the x component of this vector is positive, this is the correct angle.
If we have vectors A and B, at angles `theta1 and `theta2 as measured from the direction of the positive x axis, their sum is found by first finding the x and y component of each (multiplying the magnitude of each vector by the cosine of its angle to obtain its x component, and multiplying the magnitude of each vector by the sine of its angle to obtain its y component).
The sum of the two x components will then be the x component of the resultant, and the sum of the two y components will be the y component of the resultant.
We obtain
Ax = | A | cos(`theta1),
Ay = | A | sin(`theta1),
Bx = | B | cos(`theta2),
By = | B | sin(`theta2).
We obtain the resultant vector R = A + B by first adding the x components of A and B:
Rx = Ax + Bx = | A | cos(`theta1) + | B | cos(`theta2)
and
Ry = Ay + By = | A | sin(`theta1) + | B | sin(`theta2).
We then find the magnitude and angle of R, using the Pythagorean Theorem and the tan-1gent:
|R| = `sqrt(Rx^2 + Ry^2)
and
`theta = tan-1(Ry / Rx).
The figure below shows two vectors A and B, and their components Ax, Ay, Bx and By.
"